 cmake_minimum_required(VERSION 3.16)
 project(scnsDemo-windows)
 set(CMAKE_CXX_STANDARD 11)
 set(CMAKE_C_STANDARD 99)

 add_compile_options(-std=c99 -Wall)
 add_compile_options(-Wno-padded -Wno-reserved-identifier -Wno-newline-eof -Wno-c11-extensions -Wno-gnu-zero-variadic-macro-arguments -Wno-static-in-inline -Wno-unknown-warning-option -Wno-double-promotion -Wno-declaration-after-statement -Wno-switch-enum -Wno-sign-conversion -Wno-implicit-int-conversion -Wno-implicit-float-conversion -Wno-unused-parameter -Wno-float-conversion -Wno-unused-function -Wno-unused-variable -Wno-missing-noreturn -Wno-strict-aliasing -Wno-unused-result -Wno-format)

 if (CMAKE_BUILD_TYPE AND (CMAKE_BUILD_TYPE STREQUAL "Debug"))
     add_compile_options(-g)
 else ()
     add_compile_options(-Ofast)
 endIF ()

 include_directories(Libraries/scns/src)
 add_subdirectory(Libraries/scns)
 include_directories(Libraries/scnsBsp/windows)
 add_subdirectory(Libraries/scnsBsp/windows)
 include_directories(Libraries/hxPrintf)
 add_subdirectory(Libraries/hxPrintf)
 include_directories(Libraries/jcto)
 add_subdirectory(Libraries/jcto)
 include_directories(VM)
 add_subdirectory(VM/)
